﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;

namespace QuoteCenter.Config
{
    public class Settings
    {
        public static string CNN_HNX_ORACLE = ConfigurationManager.ConnectionStrings["HnxOracle"].ToString();
        public static string CNN_HNX_MYSQL = ConfigurationManager.ConnectionStrings["HnxMySQL"].ToString();

        public static int TRADING_INTERVAL = Convert.ToInt32(ConfigurationManager.AppSettings["INTERVAL"]);
        public static int STATUS_CHECK_INTERVAL = Convert.ToInt32(ConfigurationManager.AppSettings["STATUS_CHECK_INTERVAL"]);
        public static string DAL_ORAC = ConfigurationManager.AppSettings["DAL_ORAC"].ToString();
        public static string DAL_MYSQL = ConfigurationManager.AppSettings["DAL_MYSQL"].ToString();
        public static string UPDATE_LIST = ConfigurationManager.AppSettings["UPDATE_LIST"].ToString();
    }
}
